package com.gk.ldj.fastdev.testcase;

import com.gk.ldj.base.Json;

public class TestJson {
	public static void test()
	{
		Json a=new Json("{a:10,b:100,c:[{c11:51,c12:52},{c11:61,c12:62}],d:{d1:71,d2:73}}");
		Json b=new Json("[{x:1},{x:3}]");
		a.setAttr("z", b);
		System.out.println(b.getItem(0));
		System.out.println(b.toString());
		System.out.println(a.getAttr("z") instanceof Json);
		System.out.println(a.toString());
	}
}
